<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div class="app">

  </div>
  <script>
    var app = document.querySelector('app');
    class Ck{
      value='123';
      value(){
        console.log('你在获取值');
      } 
      set(){
        console.log("你在设置值");
      }
    }
    let ck = new Ck();
    console.log(ck.value);
  </script>
</body>
</html>